﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace ERP_RORZE_ORDER.OrderObject.UserControls
{
    public partial class rptPrint : DevExpress.XtraReports.UI.XtraReport
    {
        public rptPrint()
        {
            InitializeComponent();
        }

        private void xrLabel22_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            if (xrLabel22.Text.Length>3)
            {
               string temp = xrLabel22.Text.Substring(2, xrLabel22.Text.Length-2);
               xrLabel22.Text = "Pro" + temp; 
            }
            
        }

        private void rptPrint_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            if (WordWrap)
            {
                //rptPrint.
            }
        }

    }
}
